import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Login from "@/views/Login"
import Home from "@/views/Home"
import Register from "@/views/Register"
import Dog from "@/views/myRouter/Dog"
import Cat from "@/views/myRouter/Cat"
import Pig from "@/views/myRouter/Pig"
import Bear from "@/views/myRouter/Bear"
import dingqi from "@/views/myRouter/dingqi"
import DingQu from "@/views/myRouter/DingQu"

Vue.use(Router)

export default new Router({
   mode:'history',
   /* 设置路由*/
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path:"/dog",
      name:"dog",
      component:Dog
    },
    {
      path:"/cat",
      name:"cat",
      component:Cat
    },
    {
      path:"/pig",
      name:"pig",
      component:Pig
    },
    {
      path:"/bear",
      name:"bear",
      component:Bear
    },
	{
	  path:"/dingqi",
	  name:"dingqi",
	  component:dingqi
	},
  {
    path:"/DingQu",
    name:"DingQu",
    component:DingQu
  },
    {
      path:"/register",
      name:"register",
      component:Register
    },
    {
      path:"/login",
      name:"login",
      component:Login
    }
  ]
})
